package market

import "github.com/gin-gonic/gin"

func Register(app *gin.Engine) {
	app.POST("/marketing/send", SendMarketingEmailView)
	app.POST("/marketing/test", SendTestMarketingEmailView)
	app.GET("/marketing/logs", GetMarketingEmailLogsView)
	app.GET("/marketing/stats", GetMarketingStatsView)

	app.GET("/marketing/preference", GetMarketingPreferenceView)
	app.POST("/marketing/preference", SetMarketingPreferenceView)
}
